<?php
include("input.class.php");

class form {
   public function __construct() {
   }


   public function configure($config=array()) {
   }
   
   public function addInput($input) {
	$input->setForm($this);
	$this->inputs[] = $input;
   }

   public function render() {
	print "<form name=\"\" action=\"\" method=\"\"  enctype=\"\">\n";
	foreach($this->inputs AS $input) {
		$input->render();
	}
	print "</form>\n";
   }

   public function __destruct() {
   }
}
?>